<fix>[ctl]: heal zstack-ctl build deps#4118
Conversation
Run a minimal build dependency check before zstack-ctl recreates its virtualenv. The check installs missing Python2, gcc, libffi, and OpenSSL packages from zstack-local, restores Red Hat spec or plugin packages when Python CFLAGS requires them, and verifies a tiny Python C extension can compile before pip builds zstackctl dependencies. This lets a rerun of the upgrade command recover hosts where annobin or related build files were lost during an interrupted upgrade. JIRA: ZSTAC-74634 Change-Id: Ia7a75fa179f7685d46f93a0c37ed022e51fd9a7d
|
Warning Review limit reached
More reviews will be available in 14 minutes and 48 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Run a minimal build dependency check before zstack-ctl recreates its
virtualenv. The check installs missing Python2, gcc, libffi, and
OpenSSL packages from zstack-local, restores Red Hat spec or plugin
packages when Python CFLAGS requires them, and verifies a tiny Python C
extension can compile before pip builds zstackctl dependencies.
This lets a rerun of the upgrade command recover hosts where annobin or
related build files were lost during an interrupted upgrade.
JIRA: ZSTAC-74634
Change-Id: Ia7a75fa179f7685d46f93a0c37ed022e51fd9a7d
sync from gitlab !10016